package com.ruoyi.qywx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @author : hcl
 * @Date : 2023/8/28 11:24
 * 全局欢迎语配置
 */
@Builder
@Data
@TableName("qy_public_welcome")
public class ContactGreet {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long teamId;
    private String title;
    private String users;
    private Long welcomeId;
    private Long creator;
    @TableField("modifyTime")
    private Date modifyTime;

    ContactGreet() {
    }

    public ContactGreet(Long id, Long teamId, String title, String users, Long welcomeId, Long creator, Date modifyTime) {
        this.id = id;
        this.teamId = teamId;
        this.title = title;
        this.users = users;
        this.welcomeId = welcomeId;
        this.creator = creator;
        this.modifyTime = modifyTime;
    }
}
